package com.qfedu.userserve.service.impl;


import com.qfedu.entity.Admin;
import com.qfedu.userserve.mapper.AdminMapper;
import com.qfedu.userserve.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author niuniu
 * @Date 2024/9/7 11:41
 * @declaration 以梦为马，破茧重生
 */
@Service
public class AdminServiceImpl implements AdminService {

    @Autowired
    private AdminMapper mapper;
    @Override
    public Admin login(Admin admin) {
        return mapper.login(admin);
    }
}
